﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.DAO;
using Com.CMS263.PO;

namespace Com.CMS263.BLL
{
    public class GiftFlowerBLL : BaseBLL<GiftFlower>
    {
        GiftFlowerDAO dao = new GiftFlowerDAO();
        public GiftFlower entity = new GiftFlower();
        public override GiftFlower GetModel()
        {
            return entity;
        }
        public int GetMaxId()
        {
            return dao.GetMaxId();
        }
        public IList<GiftFlower> GetListByPager(int page, int pagesize, int listid)
        {
            return dao.GetListByPager(page, pagesize,listid);
        }
        public int GetListByPager(int listid)
        {
            return dao.GetListByPager(listid);
        }
        public IList<GiftFlower> GetList(int page, int pagesize, int istejia, string num, int minp, int maxp, string keys,string cate)
        {
            return dao.GetList(page, pagesize, istejia, num, minp, maxp, keys,cate);
        }
        public int GetList(int istejia, string num, int minp, int maxp, string keys, string cate)
        {
            return dao.GetList(istejia, num, minp, maxp, keys, cate);

        }

    
        
    }
}
